-
Home
-
Gifty for WooCommerce
-
2.0.4
-
Code
-
Classes
- WC_Gifty_Cart
Total Complexity |
33 |
Dependencies |
8 |
Dependents |
1 |
Total lines |
308 |
Lines of code |
175 |
Logical lines of code |
105 |
Comment lines |
62 |
Methods |
9 |
Properties |
2 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
apply_gift_card() |
A |
46 |
8 |
41 |
apply_gift_card_from_coupon_input() |
A |
48 |
7 |
35 |
__construct() |
S |
52 |
4 |
24 |
render_applied_gift_cards() |
S |
55 |
3 |
21 |
get_gift_card() |
S |
57 |
3 |
16 |
calculate_gift_card_on_totals() |
S |
59 |
3 |
14 |
remove_gift_card() |
S |
61 |
3 |
12 |
render_gift_card_form() |
S |
68 |
1 |
8 |
destroy_cart_session() |
S |
77 |
1 |
4 |